/*==========================================================================*
*       Copyright(c) 2009--2012 KL clear Tech
*                     ALL RIGHTS RESERVED
*
*  PRODUCT  : PRODUCT NAME
*
*  FILENAME : bit_define.h
*  CREATOR  : FanXiansheng             DATE: 2013-05-31 15:14
*  VERSION  : V1000
*  PURPOSE  :
*
*
*  HISTORY  :
*
*==========================================================================*/

#ifndef BIT_DEFINE_H
#define BIT_DEFINE_H


/************************************************************
* STANDARD BITS
************************************************************/

#define BIT0				(0x0001u)
#define BIT1				(0x0002u)
#define BIT2				(0x0004u)
#define BIT3				(0x0008u)
#define BIT4				(0x0010u)
#define BIT5				(0x0020u)
#define BIT6				(0x0040u)
#define BIT7				(0x0080u)
#define BIT8				(0x0100u)
#define BIT9				(0x0200u)
#define BITA				(0x0400u)
#define BITB				(0x0800u)
#define BITC				(0x1000u)
#define BITD				(0x2000u)
#define BITE				(0x4000u)
#define BITF				(0x8000u)


#define BIT00				(0x00000001u)
#define BIT01				(0x00000002u)
#define BIT02				(0x00000004u)
#define BIT03				(0x00000008u)
#define BIT04				(0x00000010u)
#define BIT05				(0x00000020u)
#define BIT06				(0x00000040u)
#define BIT07				(0x00000080u)
#define BIT08				(0x00000100u)
#define BIT09				(0x00000200u)
#define BIT10				(0x00000400u)
#define BIT11				(0x00000800u)
#define BIT12				(0x00001000u)
#define BIT13				(0x00002000u)
#define BIT14				(0x00004000u)
#define BIT15				(0x00008000u)
#define BIT16				(0x00010000u)
#define BIT17				(0x00020000u)
#define BIT18				(0x00040000u)
#define BIT19				(0x00080000u)
#define BIT20				(0x00100000u)
#define BIT21				(0x00200000u)
#define BIT22				(0x00400000u)
#define BIT23				(0x00800000u)
#define BIT24				(0x01000000u)
#define BIT25				(0x02000000u)
#define BIT26				(0x04000000u)
#define BIT27				(0x08000000u)
#define BIT28				(0x10000000u)
#define BIT29				(0x20000000u)
#define BIT30				(0x40000000u)
#define BIT31				(0x80000000u)




/*

0
1
2
3
4
5
6
7
8
9

00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99

100

*/




#endif //BIT_DEFINE_H
